<include file="Common:header" />
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        账号管理
        <small>{$actionTitle}</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="/"><i class="fa fa-dashboard"></i> Home</a></li>
        <li class="active">权限管理</li>
        <li class="active">{$actionTitle}</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
      <div class="box">
        <!--<div class="box-header">-->
            <!--<span>-->
              <!--<a href="/Admin/Account/createAccount" class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> 创建 </a>-->
            <!--</span>-->
        <!--</div>-->
        <!-- /.box-header -->
        <?php
          if(!empty($list)){
        ?>
        <div class="box-body">
          <table id="list" class="table table-bordered table-striped">
            <thead>
              <tr>
                <th>ID</th>
                <th>昵称</th>
                <th>手机</th>
                <th>状态</th>
                <th>创建时间</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
              <?php
                foreach($list as $value){
              ?>
            <tr>
              <td><b>{$value['id']}</b></td>
              <td>{$value['nick_name']}</td>
              <td>{$value['mobile']}</td>
              <td>{$value['statusMsg']}</td>
              <td><?php echo date('Y-m-d H:i:s', $value['addtime']);?></td>
              <td>
                <?php if($value['is_delete'] == 0){?>
                <span>
                  <a href="/Admin/Account/deleteAppAccount?id=<?php echo $value['id']?>" class="btn btn-danger btn-sm"><i class="fa fa-trash-o"></i> 冻结 </a>
                </span>
                <?php }?>
              </tr>
            <?php }?>
            </tbody>
          </table>
        </div>
        <?php }?>
        <!-- /.box-body -->
      </div>
    </section>
    <!-- /.content -->
  </div>
  <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->
<include file="Common:footer" />
<!-- SlimScroll -->
</body>
</html>
